﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections;
using System.ComponentModel;
using System.Collections.ObjectModel;

namespace Backup_Manager_3CHIF
{
    class Playlist : ObservableCollection<Item>
    {


        //List because ArrayList doesn't support Generics
        //EDIT: BindingList because Listbox does not support List
        //EDIT#2: maybe it's better to use ObserveableCollection...
        //private BindingList<SoundFile> list = new BindingList<SoundFile>();
        public Playlist() : base() { }

        public void add(SoundFile item)
        {
            Add(item);
        }

        public int getSize() { return this.Count; }
    }
}
